package org.wlw.teacher.service;

import org.wlw.teacher.models.Department;
import org.wlw.teacher.models.Pager;
import org.wlw.teacher.models.Teacher;

import java.util.List;

public interface ITeacherService {
    public void add(Teacher teacher);
    public void update(Teacher teacher);
    public void delete(int id);
    public Teacher load(int id);
    public Pager<Teacher> find(Teacher teacher);
    public List<Teacher> list(Teacher teacher);
}